The aim of this project to predict the price of the houses in Delhi, in various localities, based on the data present in the dataset. The dataset is from Kaggle. The project aims to predicts the house price, by analysing the feautures such as area, number of bedrooms, locality and many more. The dataset has 1259 rows and 11 columns.
Column Name | Description |
---|---|
Area | Area of the house in square feet |
BHK | Number of bedrooms |
Bathroom | Number of bathrooms |
Furnishing | Furnishing status |
Locality | Locality of the house |
Parking | Number of parking available |
Price | Price of the house in INR |
Status | property's status as in 'ready to move' or still under construction |
Transaction | Its a new property or being re-sold |
Type | Type of the property |
Per_Sqft | Price per square feet |
# Importing the libraries
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
import seaborn as sns
# Loading the dataset
df = pd.read_csv('MagicBricks.csv')
df.head()
Area | BHK | Bathroom | Furnishing | Locality | Parking | Price | Status | Transaction | Type | Per_Sqft | |
---|---|---|---|---|---|---|---|---|---|---|---|
0 | 800.0 | 3 | 2.0 | Semi-Furnished | Rohini Sector 25 | 1.0 | 6500000 | Ready_to_move | New_Property | Builder_Floor | NaN |
1 | 750.0 | 2 | 2.0 | Semi-Furnished | J R Designers Floors, Rohini Sector 24 | 1.0 | 5000000 | Ready_to_move | New_Property | Apartment | 6667.0 |
2 | 950.0 | 2 | 2.0 | Furnished | Citizen Apartment, Rohini Sector 13 | 1.0 | 15500000 | Ready_to_move | Resale | Apartment | 6667.0 |
3 | 600.0 | 2 | 2.0 | Semi-Furnished | Rohini Sector 24 | 1.0 | 4200000 | Ready_to_move | Resale | Builder_Floor | 6667.0 |
4 | 650.0 | 2 | 2.0 | Semi-Furnished | Rohini Sector 24 carpet area 650 sqft status R... | 1.0 | 6200000 | Ready_to_move | New_Property | Builder_Floor | 6667.0 |
# Checking the shape of the dataset
df.shape
(1259, 11)
# Checking for null/missing values
df.isnull().sum()
Area 0 BHK 0 Bathroom 2 Furnishing 5 Locality 0 Parking 33 Price 0 Status 0 Transaction 0 Type 5 Per_Sqft 241 dtype: int64
The dataset has five columns with missing values - Parking, Bathroom, Furnishing, Type and Per_Sqft. Finding value for Per_Sqft is quite easy. We have to divide Price by Area to get Per_Sqft. To find the missing values in Parking, Bathroom, Furnishing and Type, I will replace the missing values with the mode of them.
# Replacing missing value in Per_Sqft
df['Per_Sqft'] = df['Per_Sqft'].fillna(df['Price']/df['Area'])
# Replacing missing values in Parking, Bathroom, Furnishing and Type
df['Parking'].fillna(df['Parking'].mode()[0], inplace=True)
df['Bathroom'].fillna(df['Bathroom'].mode()[0], inplace=True)
df['Furnishing'].fillna(df['Furnishing'].mode()[0], inplace=True)
df['Type'].fillna(df['Type'].mode()[0], inplace=True)
# Checking for missing values
df.isnull().sum()
Area 0 BHK 0 Bathroom 0 Furnishing 0 Locality 0 Parking 0 Price 0 Status 0 Transaction 0 Type 0 Per_Sqft 0 dtype: int64
Checking datatype of each column
df.dtypes
Area float64 BHK int64 Bathroom float64 Furnishing object Locality object Parking float64 Price int64 Status object Transaction object Type object Per_Sqft float64 dtype: object
Parking and Number of bathrooms, cam't be in float so, converting them into integer
# Type casting
df[['Parking', 'Bathroom']].astype('int64')
Parking | Bathroom | |
---|---|---|
0 | 1 | 2 |
1 | 1 | 2 |
2 | 1 | 2 |
3 | 1 | 2 |
4 | 1 | 2 |
... | ... | ... |
1254 | 3 | 5 |
1255 | 3 | 2 |
1256 | 3 | 3 |
1257 | 1 | 2 |
1258 | 1 | 3 |
1259 rows × 2 columns
Unique value count in each column
# Unique value count
df.nunique()
Area 315 BHK 8 Bathroom 7 Furnishing 3 Locality 365 Parking 9 Price 284 Status 2 Transaction 2 Type 2 Per_Sqft 433 dtype: int64
Value count for each value in each variable
# Value count for each value
print(df['Area'].value_counts(),'\n', df['BHK'].value_counts(),'\n', df['Bathroom'].value_counts(),'\n', df['Parking'].value_counts(),'\n', df['Furnishing'].value_counts(),'\n', df['Status'].value_counts(),'\n', df['Transaction'].value_counts(),'\n', df['Type'].value_counts(),'\n', df['Per_Sqft'].value_counts())
Area 900.0 67 1500.0 50 1800.0 48 1000.0 42 1600.0 38 .. 150.0 1 3250.0 1 4000.0 1 5500.0 1 11050.0 1 Name: count, Length: 315, dtype: int64 BHK 3 541 2 367 4 220 1 96 5 27 6 6 7 1 10 1 Name: count, dtype: int64 Bathroom 2.0 553 3.0 355 1.0 146 4.0 138 5.0 57 6.0 7 7.0 3 Name: count, dtype: int64 Parking 1.0 829 2.0 341 3.0 54 4.0 16 5.0 7 39.0 7 114.0 3 9.0 1 10.0 1 Name: count, dtype: int64 Furnishing Semi-Furnished 713 Unfurnished 363 Furnished 183 Name: count, dtype: int64 Status Ready_to_move 1184 Almost_ready 75 Name: count, dtype: int64 Transaction Resale 781 New_Property 478 Name: count, dtype: int64 Type Builder_Floor 666 Apartment 593 Name: count, dtype: int64 Per_Sqft 12500.000000 37 3524.000000 28 6667.000000 27 14818.000000 24 6154.000000 18 .. 11826.086957 1 11391.304348 1 9066.666667 1 6701.030928 1 16333.000000 1 Name: count, Length: 433, dtype: int64
df['Area_Yards'] = df['Area']/9
# Unique Localities
df['Locality'].unique()
array(['Rohini Sector 25', 'J R Designers Floors, Rohini Sector 24', 'Citizen Apartment, Rohini Sector 13', 'Rohini Sector 24', 'Rohini Sector 24 carpet area 650 sqft status Ready to Move floor 4 out of 4 floors transaction New Property furnishing Semi-Furnished facing East overlooking Garden/Park, Main Road car parking 1 Open bathroom 2 balcony 1 ownership Freehold Newly Constructed Property Newly Constructed Property East Facing Property 2BHK Newly build property for Sale. A House is waiting for a Friendly Family to make it a lovely home.So please come and make his house feel alive once again. read more Contact Agent View Phone No. Share Feedback Garima properties Certified Agent Trusted by Users Genuine Listings Market Knowledge', 'Delhi Homes, Rohini Sector 24', 'Rohini Sector 21', 'Rohini Sector 22', 'Rohini Sector 20', 'Rohini Sector 8 How Auctions work? The borrower has the physical possession of the Property. However the lender (Bank) can legally sell the Property. super area 32 sqm status Ready to Move floor 1 transaction Resale furnishing Semi-Furnished Contact Now Enquire Now Auction By', 'Rohini Sector 25 carpet area 660 sqft status Ready to Move floor 2 out of 4 floors transaction New Property furnishing Semi-Furnished facing North overlooking Garden/Park, Main Road car parking 1 Open bathroom 2 balcony 1 ownership Freehold Newly Constructed Property Newly Constructed Property Near by Ryan international school 2BHK Located on the Ground Floor of a four story building with open parking the flat measure 720 Sq Ft the property is located in a green and plush sector with common parks opposite every lane and bus and auto stand nearby. its situated 1.5 km from the metro station and walkable distance from shopping distance from shopping complex. read more Contact Agent View Phone No. Share Feedback Know your Certified Agent CRISIL Rating No of Employees 9 Kulwant & Company Certified Agent Trusted by Users Genuine Listings 5500+ Buyers Served', 'Rohini Sector 16', 'Rohini Sector 14', 'Mayur Apartment, Rohini Sector 9', 'Vijay Vihar, Rohini', 'Rohini Sector 18 carpet area 40 sqm status Ready to Move floor 2 out of 4 floors transaction Resale furnishing Furnished facing East overlooking Main Road car parking 2 Open bathroom 1 balcony 1 ownership Freehold East Facing Property It an LIG three side corner flat in second floor, having full scope of expansion. interior decorated with 2 textured wall , kajaria tiles , fully modular kitchen, branded bathroom and toilet fittings, LED panel, ac in one bedroom, false ceiling in entire flat.south facing unobstructed view balcony. It was all renovated only 2.5 yrs back so every thing is in brand new condition. read more Contact Owner View Phone No. Share Feedback Owner Pramod', 'Prashant Vihar, Rohini', 'Rohini Sector 5', 'Sanskriti Apartment, Rohini Sector 28', 'Rohini Sector 19', 'Lajpat Nagar 2', 'Lajpat Nagar 1', 'Lajpat Nagar', 'Vikram Vihar, Lajpat Nagar', 'Lajpat Nagar 4', 'Lajpat Nagar 3', 'Dayanand Colony, Lajpat Nagar How Auctions work? The borrower has the physical possession of the Property. However the lender (Bank) can legally sell the Property. super area 810 sqft status Ready to Move floor 1 out of 5 floors transaction Resale balcony 1 Contact Now Enquire Now Auction By Bank', 'Amar Colony, Lajpat Nagar', 'DDA Flats Sector 14, Dwarka Sector 14', 'Siddhartha Heights, Dwarka Sector 24', 'MTNL Employees House Welfare Society, Dwarka Sector 24', 'Delhi Homes Yojana, Dwarka Sector 24', 'The Elite Spire, Dwarka Sector 21', 'Kunj Vihar Apartment, Dwarka Sector 12', 'Ashirwad Apartments, Dwarka Sector 12', 'Sunny Valley Apartments, Dwarka', 'Shri Agrasen Apartment, Dwarka Sector 7', 'Chopra Apartment, Dwarka Sector 23', 'Mohinder Apartments, Dwarka Sector 12', 'Chander Lok Apartment, Dwarka Sector 19', 'Neelachal, Dwarka Sector 5', 'Dwarka', 'MeeraBai Apartment, Dwarka Sector 5', 'Crescent Apartments, Dwarka Sector 18', 'Ashoka Enclave Apartment, Dwarka Sector 11', 'Nav Kairali Apartment, Dwarka Sector 3', 'Ashirwad Apartments, Dwarka', 'Indraprastha Apartment, Dwarka Sector 12', 'Mohinder Apartments, Dwarka', 'Ashoka Apartments, Dwarka Sector 12', 'Karuna Vihar Apartment, Dwarka', 'LNT Apartments, Dwarka', 'Dwarka Sector 4', 'Dwarka Sector 3 carpet area 400 sqft status Ready to Move floor 1 out of 4 floors transaction New Property furnishing Semi-Furnished facing West overlooking Main Road bathroom 1 balcony 1 ownership Freehold Newly Constructed Property 1BHK freehold property , reserved parking, ample space for visitor parking, bathrooms with modern facilities, complete light in all room, wooden wardrobes in bedrooms, separate electric & water meter connection, separate water tank at roof, electronic door lock system with intercom facility, wall to wall POP work, fall ceiling work in all rooms, royal paint work in all rooms, 24X7 running water, branded electric fittings, modular kitchen with electronic chimney, marble vitrified tile flooring, near to metro station, well connected to main road ect. 80 to 90 home loan available. Ready to move read more Contact Agent View Phone No. Share Feedback Agent S.B. Associates 4000+ Buyers Served', 'Dwarka Sector 16B', 'Vinoba Puri, Lajpat Nagar', 'Budh Vihar', 'Budh Vihar super area 50 sqyrd status Ready to Move floor Ground out of 2 floors transaction Resale furnishing Unfurnished facing East car parking 1 Open bathroom 1 balcony 2 ownership Freehold For Sale 2 BHK 50 yrd, 2 side open Ground Floor, First and Second Floor in H Block, Gali No. 04, Near Laxmi Narain Mandir, BudhVihar read more Contact Agent View Phone No. Share Feedback Agent Sahyog Properties 1000+ Buyers Served', 'Budh Vihar Phase 1', 'Budh Vihar Phase 2', 'Saptrishi Apartment, Rohini Sector 23', 'Rohini Sector 23', 'Rohini ( 1 km from Shahbad Dairy, Rohini)', 'The Leela Sky Villas, Patel Nagar', 'Uttam Nagar Floors, Uttam Nagar', 'Virat Residency, Dwarka Mor', 'Find Homes, Greater Kailash 2', 'Adarsh Homes, Dwarka Mor', 'Kushwaha Homes, Uttam Nagar', 'Godrej South Estate, Okhla', 'APL Builder Floor, Greater Kailash 1', 'Janakpuri Block A3', 'Greater Kailash 2', 'Partap Homes, Bhagwati Vihar, Uttam Nagar', 'The Amaryllis, Karol Bagh', 'Diamond Heights Multi Estate, Najafgarh', 'Vasant Vihar Builder Floor, Vasant Vihar', 'Vasant Kunj', 'Greater Kailash 1', 'Khanpur, Madangir', 'Batla House, Okhla', 'Friends Colony West, New Friends Colony', 'New Friends Colony', 'Maharani Bagh, New Friends Colony', 'New Friends Colony carpet area 4300 sqft status Ready to Move floor 2 out of 3 floors transaction Resale furnishing Unfurnished facing North - East overlooking Garden/Park, Main Road car parking 2 Covered, 2 Open bathroom 4 balcony 3 ownership Freehold hurry up... dont waste time any where, It is best deal in your pocket budget.well maintained second floor with terrace garden plus 2 additional room on terrace up for sale in new friends colony.the property has 4 king sized bedroom attached bathroom with roof top shower with Jacuzzi. It has 3 big balconies with wonderful outer view. It has modular kitchen with new fittings. It has servant quarter pooja room study room store room etc. It has drawing & dining. It has 2 car parking with gated society. It has 247 hours water supply with full power backup. It is in amazing location. read more Contact Agent View Phone No. Share Feedback Crisil Silver Agent Sagar Home Developers Pvt. Ltd. 1000+ Buyers Served', 'Friends Colony East, New Friends Colony', 'Kalindi Colony, Maharani Bagh, New Friends Colony', 'Taimoor Enclave, New Friends Colony carpet area 2800 sqft status Ready to Move floor 2 out of 3 floors transaction Resale furnishing Semi-Furnished facing East overlooking Garden/Park society Taimoor Enclave car parking 2 Covered, 1 Open bathroom 4 balcony 2 ownership Freehold Two floor of the house is available for sale SECOND AND THIRD FLOOR EXTRA made, provision for LIFT can be provided by the OWNER .DDA FLATS of TAIMOOR ENCLAVE, NEAR GURUDWARA, NEW FRIENDS COLONY, SOUTH DELHI , HOUSE IS ON THE SECOND FLOOR have 3 bed room and 2 wash room and and same on the Third Floor, URGENT SALE, BROKER EXCUSE. read more Contact Agent View Phone No. Share Feedback Agent Delhi Homes 100+ Buyers Served', 'New Friends Colony Floors, New Friends Colony', 'Kailash Colony, Greater Kailash', 'Ram Nagar, Shahdara', 'Jyoti Nagar West, Shahdara', 'Hans Apartments, Vishwas Nagar, Shahdara', 'Naveen Shahdara, Shahdara', 'Balbir Nagar, Shahdara', 'Rohitash Nagar East, Shahdara', 'Shahdara', 'Vishwas Nagar, Shahdara', 'DDA RPS Flats, Mansarowar Park, Shahdara', 'Yamuna Vihar, Shahdara', 'Rohtash Nagar, Shahdara', 'Ram Nagar Extension, Shahdara', 'Maujpur, Shahdara', 'Mansarowar Park, Shahdara', 'Gorakh Park West, Shahdara', 'Shivnam Apartment, Shahdara', 'Jyoti Colony, Shahdara', 'Ahinsha Vatika, Ram Nagar, Shahdara', 'mind. The space is airy, is well located and can be easily customized as per the needs. Prime facilities are easily accessible from this place with Government Girls Senior Secondary School No 2 (0 km ). Other key neighbourhood are B Block Market (0 km ). read more Contact Owner View Phone No. Share Feedback Owner vinod kumar', 'Laxmi Nagar', 'Guru Angad Nagar West, Laxmi Nagar', 'Lalita Park, Laxmi Nagar', 'Krishan Kunj, Laxmi Nagar', 'Laxmi Nagar super area 450 sqft status Ready to Move floor 3 out of 4 floors transaction New Property furnishing Semi-Furnished facing East overlooking Main Road bathroom 2 balcony 1 ownership Freehold Newly Constructed Property East Facing Property This Builder Floor Apartment at 3rd faces East & overlooks Main Road offering a beautiful view from the house. with airy interiors. The type of ownership is Freehold. The Builder Floor Apartment is newly constructed. Bank loans available from LIC Housing Finance, Kotak Mahindra Bank, Indiabulls. Flooring of type Marble covers maximum part of the house. The location has easy access to, Dena Bank (0 km ), Delhi Convent School (0 km ), DDA Market (0 km ) and Nirman Vihar Metro Station (2 km ). read more Contact Owner View Phone No. Share Feedback Owner Sonia', "Laxmi Nagar carpet area 1000 sqft status Ready to Move floor 1 out of 4 floors transaction Resale furnishing Furnished bathroom 3 balcony 1 It's a 1st floor Builder Floor Apartment in a building of total 4 floors. The age of construction for this Builder Floor Apartment is between 10 to 15 years. The location has easy access to, Dena Bank (0 km ), Delhi Convent School (0 km ), DDA Market (0 km ) and Nirman Vihar Metro Station (2 km ). read more Contact Owner View Phone No. Share Feedback Owner Vipul Jain", 'Bank Enclave, Laxmi Nagar', 'Uttam Nagar', 'Dwarka Mor', 'Uttam Nagar West', 'SB Residency, Dwarka Mor', 'Kiran Garden, Uttam Nagar', 'Mohan Garden, Razapur Khurd', 'Mitya Homes, Dwarka Mor', 'Uttam Nagar carpet area 550 sqft status Ready to Move transaction New Property furnishing Semi-Furnished facing East overlooking Main Road bathroom 2 balcony 1 ownership Freehold Newly Constructed Property Newly Constructed Property East Facing Property 2bhk fully furnished flats available for sale at uttam nagar, the flat is fully loaded, one singal wall texture in all bedrooms, modular kitchen, LED pannel in drawing room, wardrobes in bedroom read more Contact Agent View Phone No. Share Feedback Pranita Developers Pvt. Ltd. Certified Agent Trusted by Users Genuine Listings 100+ Buyers Served', 'New Uttam Nagar, Uttam Nagar', 'Patel Nagar South, Patel Nagar', 'Patel Nagar West', 'Patel Nagar East, Patel Nagar', 'Punjabi Basti, Patel Nagar', 'Baljit Nagar, Patel Nagar', 'DDA Flats Vasant Kunj, Vasant Kunj Sector B', 'DDA Flats Vasant Kunj, Vasant Kunj carpet area 1200 sqft status Ready to Move floor 5 out of 7 floors transaction Resale furnishing Semi-Furnished facing North - West overlooking Garden/Park, Main Road society DDA Flats Vasant Kunj car parking 1 Covered, 1 Open bathroom 2 balcony 2 ownership Freehold A southEAST facing 3 bhk resale flat is available in the promising locality of sectorE vasant kunj vasant kunj, delhi south. It is a ready to move in spacious flat and is located on the 5th floor. Every single detail of the flat is carefully designed. This property offers quality specifications such as lifts, park, water storage and securityfire alar. It is a gated society flat. It provides a spectacular view of the main road and parkgarden. The apartment is priced at rs. 2 cr. It is a freehold property, with a super builtUp area of 1600 sq. Ft. The property price is negotiable. read more Contact Agent Enquire Now Share Feedback Crisil Silver Agent Link Properties Pvt. Ltd. 5000+ Buyers Served', 'DDA Flats Vasant Kunj, Vasant Kunj', 'DDA Flats Pocket 1, Vasant Kunj Sector B', 'Saraswati Narmada Ganga Yamuna Apartment, Vasant Kunj Sector D', 'DDA Flats Sector E Pocket 1, Vasant Kunj', 'DDA Flats Vasant Kunj, Vasant Kunj Sector D', 'Vasant Kunj Sector A', 'E2 Vasant Kunj, Vasant Kunj', 'Ganga Apartment Sector D Pocket 6, Vasant Kunj', 'Vasant Kunj Sector C', 'Vasant Kunj Sector D', 'DDA Flats Vasant Kunj, Vasant Kunj Sector C', 'Kishangarh, Vasant Kunj', 'DDA Pocket 1, Vasant Kunj Sector D', 'Vasant Kunj Sector B', 'Gandhi Nagar, Shahdara', 'DDA Flats Mansarovar Park, Seelampur, Shahdara', 'Seelampur, Shahdara', 'Shanti Mohalla, Shahdara', 'Rajgarh Colony, Shahdara', 'Kanti Nagar East, Shahdara', 'Raghubarpura, Shahdara', 'Sukhdev Vihar, Okhla', 'Geeta Colony', 'Krishna Nagar Block A', 'Taj Enclave, Khairatabad', 'Shastri Park, Shahdara', 'Sitaram Bazar, Chandni Chowk', 'Shahdara How Auctions work? The borrower has the physical possession of the Property. However the lender (Bank) can legally sell the Property. super area 852 sqft status Ready to Move transaction Resale ownership Freehold bathroom 2 Contact Now Enquire Now Auction By', 'Saket', 'Anupam Enclave, Saket', 'RWA Flats, Saket', 'Metrotech Builder Floors, Saket', 'Saket Court Residential Complex, Saket', 'Press Enclave Society, Saket', 'Project Paryavaran Complex, Saket', 'Safdarjung Enclave', 'Arjun Nagar, Safdarjung Enclave', "Safdarjung Enclave carpet area 1100 sqft status Ready to Move floor Ground out of 4 floors transaction Resale furnishing Unfurnished facing North - East overlooking Garden/Park, Main Road car parking 1 Covered, 1 Open bathroom 3 balcony 3 ownership Freehold if you are searching for your dream house, congratulation. you're not so far from your destiny. we got unbeatable ground floor in b-block safdarjung enclave for sale. it is in 150 yds. It has 3 large king sized bedroom attached bathroom with Jacuzzi and roof top shower with all other fittings. it has modular kitchen with all needed facility. it has 3 big balcony with amazing out side view. it has 1 servant quarter also. it has 1 reserved car parking with gated society. It has 24*7 water supply with full power backup. for more information contact us at once because it can be your dream house. read more Contact Agent View Phone No. Share Feedback Crisil Silver Agent Sagar Home Developers Pvt. Ltd. 1000+ Buyers Served", 'Krishna Nagar-Safdarjung Enclave', 'Safdarjung Enclave carpet area 3250 sqft status Ready to Move floor 1 out of 4 floors transaction Resale furnishing Semi-Furnished facing North - East overlooking Garden/Park, Main Road car parking 1 Covered bathroom 4 balcony 3 ownership Freehold Near Buy Green park Metro station. The location of the property is Awesome and Peaceful. The construction is very Highend and Very tasteful Done-up. The Same property is location on the FF. 4 Side corner read more Contact Agent Enquire Now Share Feedback Crisil Silver Agent Findahouse Real Estate Consultants LLP 2000+ Buyers Served', 'Safdarjung Enclave carpet area 290 sqyrd status Ready to Move floor 2 out of 3 floors transaction Resale furnishing Semi-Furnished facing West overlooking Main Road car parking 2 Open bathroom 4 balcony 3 ownership Freehold Opposite Deer Park.The property comes with independent Terrace. The area is centrally located and close to ring road which allows easy acess to all other areas.Renowned Delhi Lawn Tennis Association is within 10 minutes walking distance.Green park market is walkable distance. read more Contact Owner View Phone No. Share Feedback Owner Hemant pajankar', 'Safdarjung Enclave carpet area 1450 sqft status Ready to Move floor 3 out of 4 floors transaction Resale furnishing Semi-Furnished facing North - East overlooking Garden/Park, Main Road car parking 1 Covered, 1 Open bathroom 3 balcony 2 ownership Freehold Park facing builder floor apartment available for sale in safderjung enclave, 3 bedroom with attached bathroom, drawing dinning, modular kitchen. the property is on the top floor of a four storey building with terrace right, servant quarter, 1 car parking in stilt. read more Contact Agent View Phone No. Share Feedback Agent Delhi Homes Realty 1000+ Buyers Served', 'Safdarjung Enclave super area 2200 sqft status Ready to Move floor 2 out of 4 floors transaction New Property furnishing Semi-Furnished facing South overlooking Main Road car parking 3 Covered, 2 Open bathroom 4 balcony 3 ownership Freehold Newly Constructed Property Wide Road 450 Yards 2nd floor brand new 4 bhk attached bathrooms with full lighted and ventilated house.Most Valuable DealSEE TO BELIEVE read more Contact Agent View Phone No. Share Feedback Crisil Bronze Agent Panchsheel Homes 500+ Buyers Served', 'Reserve Bank Enclave, Paschim Vihar', 'Paschim Vihar', 'Pushkar Enclave, Paschim Vihar', 'Paschim Vihar Block B2', 'Paschimpuri, Paschim Vihar', 'Paschim Vihar Block B4', 'Paschim Vihar How Auctions work? The borrower has the physical possession of the Property. However the lender (Bank) can legally sell the Property. carpet area 780 sqft status Ready to Move floor Ground out of 3 floors transaction Resale furnishing Unfurnished facing West bathroom 2 balcony 1 ownership Freehold Contact Now Enquire Now Auction By Bank', 'DDA Lig Flats, Paschim Vihar carpet area 45 sqyrd status Ready to Move floor 4 out of 4 floors transaction Resale furnishing Semi-Furnished facing East overlooking Garden/Park, Main Road society DDA Lig Flats bathroom 1 balcony 1 ownership Freehold East Facing Property Expected price for the Flat is kept at 45 Lac. This is a 1 bedroom apartment present in DDA Lig Flats, Paschim Vihar. It measures an area of 45 Sq-m. It is on 4 floor out of 4 floors in the tower and is also well ventilated. The Flat has 1 washroom and also has 1 spacious balcony. read more Contact Owner View Phone No. Share Feedback Owner Anil', 'Archana Apartment, Paschim Vihar', 'Guru Harikishan Nagar, Paschim Vihar', 'Mianwali Nagar, Paschim Vihar', 'Navbharat Apartment, Paschim Vihar Block B1', 'Paschim Vihar Block A2', 'LIC Colony, Paschim Vihar', 'DDA Lig Flats, Paschim Vihar', 'Paschim Vihar carpet area 850 sqft status Ready to Move floor 2 out of 4 floors transaction Resale furnishing Unfurnished facing North overlooking Garden/Park bathroom 3 balcony 1 ownership Freehold If you want to live a contended, pollution-free and peaceful life with your family and children, here is the once in a lifetime opportunity awaiting your attention!! Presenting a 3BHK ready to move flat up for sale in Paschim Vihar, which is becoming a dream residential area for its ability to provide a slice of authentic New Delhi city life. Property SpecificationsWell-knitted and planned on the super area of 900 sq ft is this 2bhk flat where the owner enjoys the complete rights of the freehold ownership. In a low-rise building of four-floors, this impressive infrastructure is positioned on the second floor, hence the residents can experience the greatest possible cross ventilation and natural sunlight.Though the age of construction is between 15-20 years, this north-facing flat is perfectly maintained and features 3 spacious bedrooms, 2 bathrooms, 2 airy balconies, a dining room, a living room, and a kitchen. All the bedrooms are adorned with decorative wardrobes offered with enough space for storage of clothes and other valuables.The attached toilet is designed in Indian fashion which is mounted-up with a geyser where you can enjoy a hot water bath, while the bathroom available for common use fashioned in the western genre.Further, an eye-catching view of the lush green garden is visible from the two well-aligned balconies where you can enjoy a hot cup of tea, where one balcony is connected to the bedroom, while the other balcony opens to the lobby. Bedecked with a granite countertop, a piped gas connection, and a chimney, the contemporarily designed modular kitchen is also provided with a wash area and also sufficient space for fridge.The entire flat is polished up with the good quality tiles which are easy to install and can be quite pleasant and comfortable underfoot.FacilitiesKeeping in mind the convenience of the residents, some of the basic facilities such as an unrestricted supply of water, and power backup with invertor. Additionally, one open parking space for 1 vehicle read more Contact Owner Share Feedback Owner Yogeet', 'Shubh Niketan, Paschim Vihar', 'Ashoka Apartment, Paschim Vihar Block A2', 'Sunder Apartments, Sunder Vihar, Paschim Vihar', 'Rajasthan Apartment, Aashirwaad Chowk, Dwarka', 'Gold Croft Apartment, Aashirwaad Chowk, Dwarka', 'Chanakya Apartments, Aashirwaad Chowk, Dwarka', 'Bank Apartments, Aashirwaad Chowk, Dwarka carpet area 1550 sqft status Ready to Move floor 7 out of 7 floors transaction Resale furnishing Semi-Furnished facing North - East overlooking Garden/Park, Main Road society Bank Apartments car parking 1 Covered, 1 Open bathroom 2 balcony 3 ownership Freehold A spacious 3 Bedroom flat is available for sale in Dwarka , New Delhi.it is cornor building plenty of sunlight and airy. It is located on the 2 Floor. It has a covered area of 1500 Sq-ft. The flat has vitrified tiles & Mosiac flooring. The flat has 24 Hours Available water supply and No/Rare Powercut.. The property is fantastically located and is much sought-after. The property is available at a very competitive Price. read more Contact Agent View Phone No. Share Feedback Sikka Realtors Has Maximum Property Options Is the Top Agent of the Locality Is Trusted by All Users CRISIL Rating No of employees 12 Sikka Realtors Certified Agent Locality Superstar Aashirwaad Chowk, Dwarka 2500+ Buyers Served', 'Mohinder Apartments, Aashirwaad Chowk, Dwarka', 'Bank Apartments, Aashirwaad Chowk, Dwarka', 'Aashirwaad Chowk, Dwarka', 'Saheta Apartment, Aashirwaad Chowk, Dwarka', 'Pushpanjali Apartments, Aashirwaad Chowk, Dwarka', 'Green Heavens Apartment, Aashirwaad Chowk, Dwarka', 'Hum Sub Apartment, Aashirwaad Chowk, Dwarka', 'Defence Officers Apartment, Aashirwaad Chowk, Dwarka', 'Sanchar Vihar Apartment, Aashirwaad Chowk, Dwarka', 'Sarve Satyam Apartment, Aashirwaad Chowk, Dwarka', 'Palm Green Apartment, Aashirwaad Chowk, Dwarka', 'Neelachal, Aashirwaad Chowk, Dwarka', 'Kailash Apartments, Aashirwaad Chowk, Dwarka', 'New Jyoti Apartments, Aashirwaad Chowk, Dwarka', 'PNB Employees Apartment, Aashirwaad Chowk, Dwarka', 'Sadbhawna CGHS, Aashirwaad Chowk, Dwarka', 'Commonwealth Games Village 2010', 'Common Wealth Games Village, Commonwealth Games Village 2010', 'Project Commonwealth Games Village 2010, Akshardham Temple', 'Project Commonwealth Games Village 2010, Commonwealth Games Village 2010', 'Alaknanda', 'Shivalik Apartments, Alaknanda', 'Narmada Apartment, Alaknanda', 'Gangotri Enclave, Alaknanda', 'Aravali Apartments, Alaknanda', 'Tara Apartment, Alaknanda', 'Narmada Apartment, Alaknanda carpet area 1400 sqft status Ready to Move floor Ground out of 3 floors transaction Resale furnishing Furnished facing North - East overlooking Garden/Park, Main Road society Narmada Apartment car parking 1 Open bathroom 3 balcony 1 ownership Freehold Near Alaknanda Main Market & Greater Kailash Metro Station. A very good 3 bhk flat for sale in rwa Narmada Apartment, delhi south. It is a superb property and offers an excellent view. The flat is unfurnished. It promises a comfortable stay. It is feng shuivaastu compliant, which is considered to bring positive energy. The appeal of the flat has been increased with the availability of a pipedGa. Indeed, the society too has multiple facilities for enjoyment, such as club housecommunity center and fitness centregym etc. It also has rain water harvesting system. It has a super builtUp area of 180 sq. Yards. read more Contact Agent View Phone No. Share Feedback Agent Sulabh Estate', 'Greater Kailash 4 Nri Colony', 'Project Gangotri Enclave, Alaknanda', 'Project Gangotri Enclave, Gangotri Enclave, Alaknanda', 'Nilgiri Apartment, Alaknanda', 'Yamuna Apartment, Alaknanda', 'Tara Apartment, Alaknanda carpet area 1400 sqft status Ready to Move floor 2 out of 3 floors transaction Resale furnishing Furnished facing North - East overlooking Garden/Park society Tara Apartment car parking 1 Covered, 1 Open bathroom 3 balcony 4 ownership Freehold Near Alaknanda Main Market, Jamia Humderd University & Batra hospital. A very good 3 bhk flat for sale in rwa Tara Apartment, delhi south. It is a superb property and offers an excellent view. The flat is unfurnished. It promises a comfortable stay. It is feng shuivaastu compliant, which is considered to bring positive energy. The appeal of the flat has been increased with the availability of a pipedGa. Indeed, the society too has multiple facilities for enjoyment, such as club housecommunity center and fitness centregym etc. It also has rain water harvesting system. It has a super builtUp area of 180 sq. Yards. Other f read more Contact Agent View Phone No. Share Feedback Agent Sulabh Estate', 'Sarita Vihar, Mathura Road carpet area 1500 sqft status Ready to Move floor 2 out of 4 floors transaction Resale ownership Freehold overlooking Main Road car parking 1 Open bathroom 2 balcony 2 furnishing Unfurnished For sale second third duplex .spacious 3 bedrooms with 2 washrooms drawing and dining and moduler kitchen one scooter garrage. read more Contact Agent View Phone No. Share Feedback Shree Balaji Real Estate Pvt. Ltd. Has Maximum Property Options Is the Top Agent of the Locality Is Trusted by All Users 21 Property Options in Sarita Vihar, Mathura Road Shree Balaji Real Estate Pvt. Ltd. Certified Agent Locality Superstar Maximum options in Sarita Vihar, Mathura Road', 'DDA Flats, Sarita Vihar, Mathura Road carpet area 1600 sqft status Ready to Move floor 1 out of 4 floors transaction Resale furnishing Semi-Furnished facing North - East overlooking Main Road society DDA Flats car parking 2 Open bathroom 2 balcony 2 ownership Freehold For sale First second third duplex in sarita vihar DDA Flates . this house free hold property clear titel . this flate well maintained and spacious peacefull location . no issue light water and parking read more Contact Agent View Phone No. Share Feedback Shree Balaji Real Estate Pvt. Ltd. Has Maximum Property Options Is the Top Agent of the Locality Is Trusted by All Users 21 Property Options in Sarita Vihar, Mathura Road Shree Balaji Real Estate Pvt. Ltd. Certified Agent Locality Superstar Maximum options in Sarita Vihar, Mathura Road', 'DDA Flats Sarita Vihar, Sarita Vihar, Mathura Road', 'DDA Flats, Sarita Vihar, Mathura Road carpet area 1600 sqft status Ready to Move floor Ground out of 4 floors transaction Resale furnishing Semi-Furnished facing North - West overlooking Main Road society DDA Flats car parking 1 Open bathroom 2 balcony 2 ownership Freehold For slae Ground First Duplex in sarita vihar .posh locality in south delhi DDa coloney . This house spacious 4 bedrooms with 2 washrooms drawing and dinning . free hold proerty clear titel . near by all amnites . well develop location . read more Contact Agent View Phone No. Share Feedback Shree Balaji Real Estate Pvt. Ltd. Has Maximum Property Options Is the Top Agent of the Locality Is Trusted by All Users 21 Property Options in Sarita Vihar, Mathura Road Shree Balaji Real Estate Pvt. Ltd. Certified Agent Locality Superstar Maximum options in Sarita Vihar, Mathura Road', 'DDA Flats Sarita Vihar, Sarita Vihar Pocket K', 'Sidharth Enclave, Kilokri, Ring Road', 'Sarita Vihar Pocket B', 'Sarita Vihar Pocket F', 'DDA Flats, Sarita Vihar, Mathura Road carpet area 1150 sqft status Ready to Move floor 3 out of 3 floors transaction Resale furnishing Semi-Furnished facing North - East overlooking Main Road society DDA Flats car parking 2 Open bathroom 2 balcony 3 ownership Freehold 2 BHK flat available for sale in sarita vihar excellent interiors flooring in all bedrooms complete wood work modular kitchen beautiful bathrooms extremely well maintained ample parking space read more Contact Agent View Phone No. Share Feedback Lavish Associates Certified Agent Trusted by Users Genuine Listings Market Knowledge', 'New Manglapuri, Sultanpur', 'Sultanpur Extension', 'Sultanpur', 'Manglapuri, Sultanpur', 'Indra Park Palam, Manglapuri', 'Sultanpur carpet area 1100 sqft status Ready to Move floor 1 out of 4 floors transaction Resale furnishing Semi-Furnished overlooking Main Road car parking 1 Covered bathroom 2 balcony 2 ownership Freehold 2 bhk flat available in sultanpur, near metro station, loan facility available, with registry, all the modern facilities are variable, with car parking, near market, fully ventilated. read more Contact Agent View Phone No. Share Feedback Agent Delhi Dream 3500+ Buyers Served', 'Chhattarpur', "Chhattarpur carpet area 400 sqyrd status Ready to Move transaction New Property furnishing Semi-Furnished car parking 1 Covered, 1 Open bathroom 2 balcony 1 Newly Constructed Property It's a Ground floor Builder Floor Apartment in a building of total 4 floors. The Builder Floor Apartment is newly constructed. Prime facilities are easily accessible from this place with Oxford Angel Public School (0 km ). Other key neighbourhood are Abdul Gaffar Khan Market (0 km ). read more Contact Agent View Phone No. Share Feedback Home Hunt Has Maximum Property Options Is the Top Agent of the Locality Is Trusted by All Users 4 Property Options in Chhattarpur CRISIL Rating Operating Since 2011 No of employees 5 Home Hunt Certified Agent Locality Superstar Chhattarpur 500+ Buyers Served", 'JVTS Gardens, Chhattarpur', 'Chhattarpur Enclave Phase2', 'DLF Chattarpur Farms, Chhattarpur', 'Aravali Tower, Chhattarpur', 'Mehrauli', 'Mehrauli carpet area 1300 sqft status Ready to Move floor 2 out of 4 floors transaction New Property furnishing Semi-Furnished facing East overlooking Garden/Park, Main Road car parking 2 Covered bathroom 3 balcony 2 ownership Freehold 3 bhk flat with attached washroom, modular kitchen, IInd floor, one car and one bike parking, lift, gated society, security, cctv camera, water backup. read more Contact Agent View Phone No. Share Feedback Agent India Bhoomi', 'Andheria Mor, Mehrauli', 'Mehrauli carpet area 1250 sqft status Ready to Move floor Ground out of 8 floors transaction Resale furnishing Semi-Furnished facing East overlooking Main Road car parking 1 Covered bathroom 2 balcony 3 ownership Freehold The flat located are very good condition and well developed area. The flat area are very spaciable. This flat balcony view is very best society very neat and clean. read more Contact Agent View Phone No. Share Feedback Agent Bharti Real Estate 100+ Buyers Served', 'Brijwasi Colony, Mehrauli', 'Mahavir Enclave', 'Mahavir Enclave Part 1', 'Mahavir Enclave Part 1 carpet area 1000 sqft status Ready to Move floor 2 out of 4 floors transaction Resale furnishing Semi-Furnished facing East car parking 1 Covered bathroom 2 balcony 2 East Facing Property this property is for sale purpose.......................... Contact Owner View Phone No. Share Feedback Owner Twinkle Sudan', 'Mahavir Enclave carpet area 565 sqft status Ready to Move floor Ground out of 1 floor transaction Resale furnishing Unfurnished facing East car parking 1 Covered bathroom 2 balcony 1 ownership Freehold East Facing Property This Freehold Builder Floor Apartment is located at Ground floor in a building of total 1 floors. The age of construction for this apartment Builder Floor Apartment is Less than 5 years. High quality flooring of types Granite are available in different rooms. read more Contact Owner View Phone No. Share Feedback Owner Adesh Sah', 'Mahavir Enclave Part 3', 'Vijay Enclave, Mahavir Enclave', 'Narela Sector A1 carpet area 42 sqyrd status Ready to Move floor Ground out of 5 floors transaction Resale furnishing Unfurnished facing North - East overlooking Garden/Park, Main Road car parking 2 Open bathroom 2 balcony 2 ownership Freehold Near bawana industrial area and j.j. colony. DDA Housing property LIG FLAT very nice property for single family 200 hundreds family already living IN THIS SOCIETY and very piece full atmosphere this society 24 hour guards all facility available read more Contact Owner View Phone No. Share Feedback Owner Vivek Gupta', 'DDA Flats Pocket 6 Sector A10, Narela', 'DDA Flats Pocket 1 Sector A9, Narela', 'DDA Janta Flats, Tikri Khurd Sector B2, Narela', 'Narela', 'DDA Lig Flats, Narela', 'DDA Flats Pocket 3, Narela', 'DDA Pocket H, Narela', 'Narela Mandi', 'Bhorgarh, Narela', 'Narela Sector A9', 'Narela Sector A5', 'Malviya Nagar', 'Shivalik, Malviya Nagar', 'Geetanjali Enclave, Malviya Nagar', 'Geetanjali Enclave Project, Geetanjali Enclave, Malviya Nagar', 'Khirki extension, Malviya Nagar', "Malviya Nagar carpet area 100 sqyrd status Ready to Move floor 2 out of 3 floors transaction Resale furnishing Semi-Furnished facing North overlooking Garden/Park, Main Road car parking 2 Open bathroom 3 balcony 2 ownership Freehold It's a Corner three story building, located in South Delhi. Amenities like Market, Schools, Hospitals, Parks, Gyms, Study Centers, Temple are all around. Very Close to Malviya Nagar Metro and Haus Khas Metro Station. Centerlize place to live. Whether you go to Gurgaon or Noida Or to other parts of the city, commuting from here is very easy. read more Contact Owner View Phone No. Share Feedback Owner Rohit", 'Dilshad Colony, Dilshad Garden', 'Guru Teg Bahadur Enclave, Dilshad Garden', 'Dilshad Garden carpet area 1500 sqft status Ready to Move floor 2 out of 4 floors transaction Resale furnishing Unfurnished bathroom 1 balcony 2 Mig dda flat located at a very prime location near to market, school, hospital, metro station etc. Contact Owner View Phone No. Share Feedback Owner R', 'DDA Flats Block A, Dilshad Garden', 'Dilshad Garden', 'DDA Pocket JK, Dilshad Garden', 'DDA Pocket E, Dilshad Garden', 'DDA Flats Pocket O, Dilshad Garden', 'DDA Pocket I, Dilshad Garden', 'Vasundhara Enclave', 'Samrat Apartment, Vasundhara Enclave', 'Mangal Apartment, Vasundhara Enclave carpet area 1600 sqft status Ready to Move floor 4 out of 7 floors transaction Resale furnishing Furnished facing South - East overlooking Garden/Park, Main Road society Mangal Apartment car parking 1 Open bathroom 3 balcony 1 ownership Freehold Fully furnished , complete marble flooring, ready to move in. Contact Owner View Phone No. Share Feedback Owner Shailendra', 'Prayag Apartments, Vasundhara Enclave carpet area 900 sqft status Ready to Move floor 2 out of 4 floors transaction Resale furnishing Semi-Furnished overlooking Garden/Park, Main Road society Prayag Apartments car parking 1 Open bathroom 2 balcony 2 ownership Freehold This is 2 BHK apartment , with 2 Bathroom and one parking.This is East facing Flat.Near Metro Station is Ashok Nagar read more Contact Owner View Phone No. Share Feedback Owner Sameer Kumar', 'Abhimanyu Apartments, Vasundhara Enclave', 'Fancy Apartments, Vasundhara Enclave', 'Shantidoot Apartment, Vasundhara Enclave', 'Mangal Apartment, Vasundhara Enclave', 'Satyam Apartment, Vasundhara Enclave', 'Anekant Apartment, Vasundhara Enclave', 'New Delhi Apartment, Vasundhara Enclave', 'Mahesh Apartment, Vasundhara Enclave', 'Pawittra Apartment, Vasundhara Enclave', 'Capital Apartment, Vasundhara Enclave', 'Hindon Apartment, Vasundhara Enclave', 'Gobind Apartment, Vasundhara Enclave', 'Abul Fazal Enclave Part 1, Okhla', 'Godrej South Estate, Okhla Phase 1', 'Abul Fazal Enclave Part-II, Okhla', 'Jamia Nagar, Okhla', 'Zakir Nagar, New Friends Colony', 'Batla House Project, Batla House, Okhla', 'Dev Nagar, Karol Bagh', 'Beadon Pura, Karol Bagh How Auctions work? The borrower has the physical possession of the Property. However the lender (Bank) can legally sell the Property. carpet area 148 sqyrd status Ready to Move floor 3 out of 3 floors transaction Resale furnishing Semi-Furnished bathroom 2 balcony 3 ownership Freehold Contact Now Enquire Now Auction By Bank', 'DDA Mig Flat, Prasad Nagar, Karol Bagh', 'Karol Bagh', 'Prasad Nagar, Karol Bagh', 'DDA MIG Flats Prasad Nagar Phase 2, Prasad Nagar, Karol Bagh', 'Karol Bagh carpet area 1600 sqft status Ready to Move floor 3 out of 3 floors transaction New Property furnishing Semi-Furnished facing East overlooking Garden/Park, Main Road car parking 1 Covered, 1 Open bathroom 3 balcony 2 ownership Freehold Near to Karol Bagh Metro station...................................... Its a very peaceful location ....................................................................................................................... read more Contact Agent View Phone No. Share Feedback Agent S R B Properties', 'DLF Capital Greens, Moti Nagar, Kirti Nagar ( 1 km from New Moti Nagar, Kirti Nagar)', 'DLF Capital Greens, New Moti Nagar, Kirti Nagar', 'New Moti Nagar, Kirti Nagar', 'Sheikh Sarai Phase 1', 'Sheikh Sarai', 'Sheikh Sarai Phase 2', 'Savitri Nagar Village, Sheikh Sarai', 'Panchsheel Vihar, Sheikh Sarai', 'Apna Apartments, Savitri Nagar Village, Sheikh Sarai', 'Punjabi Bagh Enclave, Punjabi Bagh West', 'Punjabi Bagh', 'Punjabi Bagh West', 'Punjabi Bagh Enclave, Shivaji Park, Punjabi Bagh', 'Punjabi Bagh Extension, Punjabi Bagh', 'DLF Capitals Phase III, Shivaji Park, Punjabi Bagh', 'Punjabi Bagh Enclave, Punjabi Bagh', 'Punjabi Bagh Enclave, Madipur, Punjabi Bagh', 'Bhagwan Das Nagar, Punjabi Bagh', 'Punjabi Bagh East', 'Pal Mohan Apartments, Punjabi Bagh', 'Govindpuri Extension, Kalkaji', 'Kalkaji', 'DDA LIG Flat, Kalkaji', 'Giri Nagar, KalkaJi', 'Rishi Apartment, Kalkaji', 'Deshbandhu Apartments, Kalkaji', 'Dda Janta Flats, Kalkaji', 'Kalkaji super area 800 sqft status Ready to Move floor 3 out of 4 floors transaction Resale furnishing Semi-Furnished facing North - West overlooking Garden/Park, Main Road car parking 1 Open bathroom 2 balcony 2 ownership Freehold 2 bhk flat for sale in kalkaji this is third floor with 2 bed room and bathrooms very peace full location and posh. The Summer Fields School is considered as among the best school of New Delhi and is located just beside to this property. Within the range of 4-5km, you will find some of the well-equipped hospitals which include AIMS Hospital and Moolchand Hospital.for more information about this flat please call me feel free. read more Contact Agent View Phone No. Share Feedback Agent Rose Estate 100+ Buyers Served', 'Kalkaji Extention', 'Kalkaji super area 1000 sqft status Ready to Move floor 2 out of 3 floors transaction Resale furnishing Semi-Furnished facing North - West overlooking Garden/Park, Main Road car parking 1 Covered, 1 Open bathroom 2 balcony 2 ownership Freehold Very beautiful 3 bedroom with attached washroom , drawing dining , modular kitchen , ac , servant room , power backup, powder room, separate underground and overhead water tanks, walking distance to market , easy access to ring road . For more details and site visit please contact cosmo properties. read more Contact Agent View Phone No. Share Feedback Agent Zee Associates', 'Mandakini Enclave Project, Kalkaji', 'Deshbandhu Apartments, Kalkaji carpet area 1300 sqft status Ready to Move floor 3 out of 4 floors transaction Resale furnishing Unfurnished facing North - East overlooking Garden/Park, Main Road society Deshbandhu Apartments car parking 1 Covered, 1 Open bathroom 2 balcony 2 ownership Freehold Third Floor with terrace 3 bhk builder floor apartment with 2 attached bathrooms located in kalkaji Deshbandu apartment . all water and electrical connections installed, very spacious drawing room , 2 balconies in front and rear each dedicated parking spot for 1 car. extra parking space available for additional cars, Immediately for sale , read more Contact Agent View Phone No. Share Feedback Agent Bhawani Realtors', 'Hauz Khas', 'Hauz Khas Apartment, Hauz Khas Enclave, Hauz Khas', 'Sarva Priya Apartment, Hauz Khas', 'Hauz Khas Enclave, Hauz Khas', 'Safdarjung Development Area, Hauz Khas', 'Mayfair garden, Hauz Khas', 'Orchid Metropolis, Hauz Khas', 'Sarva Priya Apartment, Hauz Khas carpet area 1700 sqft status Ready to Move floor 1 out of 7 floors transaction Resale furnishing Semi-Furnished facing North - East overlooking Garden/Park society Sarva Priya Apartment car parking 1 Covered, 1 Open bathroom 3 balcony 2 ownership Freehold desperarte sale ,its clear tile, proper cross ventilation ,proper an matter for one week ,crystle sunlight found, and air,ICIC BANK LOAN APPROVAL, good to see , have lucky chance to get such a reraly rare property read more Contact Agent View Phone No. Share Feedback Agent New Capital Properties 1000+ Buyers Served', 'Chittaranjan Park', 'Arya Chittaranjan Park, Chittaranjan Park', 'Chittaranjan Park carpet area 1200 sqft status Ready to Move floor 2 out of 4 floors transaction New Property furnishing Semi-Furnished facing North - East overlooking Garden/Park bathroom 3 balcony 2 ownership Freehold Newly Constructed Property Newly Constructed Property brand new 1st floor 3bedroom attach bathrooms stilt car parking modular kitchen air condition prime location c r park read more Contact Agent View Phone No. Share Feedback Nirmala Associates Certified Agent Trusted by Users Genuine Listings 1500+ Buyers Served', 'Chittaranjan Park carpet area 270 sqyrd status Ready to Move floor 2 out of 4 floors transaction Resale furnishing Furnished facing North - East overlooking Garden/Park, Main Road car parking 5 Open bathroom 4 balcony 3 ownership Freehold 3 Side Open, Fully ventilated, Close to Market, Above Bank and 24 x 7 ATM because of which good security. Elite Neighbor hood. Very good for Rental Income. Also can be used for commercial Office Purpose by Advocates. read more Contact Owner View Phone No. Share Feedback Owner Mayur Mayur Aggarwal', 'Nehru Enclave, Kalkaji', 'Chittaranjan Park Block A'], dtype=object)
Since there are so many localities in the dataset, I have decided to take only top 10 localities and list the remaining localities as 'other' in the dataset. It will help in analysing the locality of the house in a better way.
def grp_local(locality):
locality = locality.lower() # avoid case sensitive
if 'rohini' in locality:
return 'Rohini Sector'
elif 'dwarka' in locality:
return 'Dwarka Sector'
elif 'shahdara' in locality:
return 'Shahdara'
elif 'vasant' in locality:
return 'Vasant Kunj'
elif 'paschim' in locality:
return 'Paschim Vihar'
elif 'alaknanda' in locality:
return 'Alaknanda'
elif 'vasundhar' in locality:
return 'Vasundhara Enclave'
elif 'punjabi' in locality:
return 'Punjabi Bagh'
elif 'kalkaji' in locality:
return 'Kalkaji'
elif 'lajpat' in locality:
return 'Lajpat Nagar'
else:
return 'Other'
df['Locality'] = df['Locality'].apply(grp_local)
df['Locality'].value_counts()
Locality Other 716 Lajpat Nagar 90 Dwarka Sector 87 Rohini Sector 75 Shahdara 75 Alaknanda 58 Vasant Kunj 35 Kalkaji 32 Punjabi Bagh 31 Paschim Vihar 30 Vasundhara Enclave 30 Name: count, dtype: int64
# Using Z - score to remove outliers
from scipy import stats
# Z score
z = np.abs(stats.zscore(df[df.dtypes[df.dtypes != 'object'].index]))
# Removing outliers
df = df[(z < 3).all(axis=1)]
Descriptive Statistics
# Checking descriptive satistics of the data
df.describe()
Area | BHK | Bathroom | Parking | Price | Per_Sqft | Area_Yards | |
---|---|---|---|---|---|---|---|
count | 1189.000000 | 1189.000000 | 1189.000000 | 1189.000000 | 1.189000e+03 | 1189.000000 | 1189.000000 |
mean | 1296.421567 | 2.735913 | 2.483600 | 1.410429 | 1.852459e+07 | 12629.785274 | 144.046841 |
std | 750.284776 | 0.859232 | 0.952107 | 0.719913 | 1.772598e+07 | 8434.085021 | 83.364975 |
min | 28.000000 | 1.000000 | 1.000000 | 1.000000 | 1.000000e+06 | 1250.000000 | 3.111111 |
25% | 800.000000 | 2.000000 | 2.000000 | 1.000000 | 5.510000e+06 | 6526.000000 | 88.888889 |
50% | 1150.000000 | 3.000000 | 2.000000 | 1.000000 | 1.350000e+07 | 10943.000000 | 127.777778 |
75% | 1600.000000 | 3.000000 | 3.000000 | 2.000000 | 2.490000e+07 | 16584.000000 | 177.777778 |
max | 5220.000000 | 5.000000 | 5.000000 | 10.000000 | 9.300000e+07 | 72000.000000 | 580.000000 |
df.head(10)
Area | BHK | Bathroom | Furnishing | Locality | Parking | Price | Status | Transaction | Type | Per_Sqft | Area_Yards | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 800.0 | 3 | 2.0 | Semi-Furnished | Rohini Sector | 1.0 | 6500000 | Ready_to_move | New_Property | Builder_Floor | 8125.0 | 88.888889 |
1 | 750.0 | 2 | 2.0 | Semi-Furnished | Rohini Sector | 1.0 | 5000000 | Ready_to_move | New_Property | Apartment | 6667.0 | 83.333333 |
2 | 950.0 | 2 | 2.0 | Furnished | Rohini Sector | 1.0 | 15500000 | Ready_to_move | Resale | Apartment | 6667.0 | 105.555556 |
3 | 600.0 | 2 | 2.0 | Semi-Furnished | Rohini Sector | 1.0 | 4200000 | Ready_to_move | Resale | Builder_Floor | 6667.0 | 66.666667 |
4 | 650.0 | 2 | 2.0 | Semi-Furnished | Rohini Sector | 1.0 | 6200000 | Ready_to_move | New_Property | Builder_Floor | 6667.0 | 72.222222 |
5 | 1300.0 | 4 | 3.0 | Semi-Furnished | Rohini Sector | 1.0 | 15500000 | Ready_to_move | New_Property | Builder_Floor | 6667.0 | 144.444444 |
6 | 1350.0 | 4 | 3.0 | Semi-Furnished | Rohini Sector | 1.0 | 10000000 | Ready_to_move | Resale | Builder_Floor | 6667.0 | 150.000000 |
7 | 650.0 | 2 | 2.0 | Semi-Furnished | Rohini Sector | 1.0 | 4000000 | Ready_to_move | New_Property | Apartment | 6154.0 | 72.222222 |
8 | 985.0 | 3 | 3.0 | Unfurnished | Rohini Sector | 1.0 | 6800000 | Almost_ready | New_Property | Builder_Floor | 6154.0 | 109.444444 |
9 | 1300.0 | 4 | 4.0 | Semi-Furnished | Rohini Sector | 1.0 | 15000000 | Ready_to_move | New_Property | Builder_Floor | 6154.0 | 144.444444 |
In the exploratory data analysis, I will be looking at the data and try to undersatnd the data. I will begin by looking at the distribution of data across the dataset, followed by visualizing the data to understand the relationship between the features and the target variable.
sns.histplot(x = df['Area_Yards'], kde = True, bins = 50).set_title('Area in Yards')
Text(0.5, 1.0, 'Area in Yards')
Lookking at the distribution of Area if houses in delhi most of the houses have area between 80 - 200 sq. yards. This means that most of the houses in delhi are small houses and there are few house having area near 300 sq yards. Whereas thery are very few houses having area more than 400 sq yards. This representation helps us to know about availability of space in delhi.
sns.countplot(x = 'BHK', data = df).set_title('BHK')
Text(0.5, 1.0, 'BHK')
BHK - Bedroom Hall Kitchen. From this graph we can get a little idea about the design of most of houses in delhi. Most of houses are 3 BHK followed by 2, 4, 1 and 5 BHK houses. Majority of the houses have area between 80-200 sq. yards. Houses with area near 200 yards can have maximum 3 bedrooms, for houses with area near 100 can have 2 bedrooms and 1 bedroom for houses with area less than 80 sq yards. Moreover whoses having area more than 300 are less in number so the count of 4BHK and 5BHK. Thus, there is a relation between the BHK and area of house, with this relation we can get a idea about the structure of houses.
sns.countplot(x = 'Bathroom', data = df).set_title('Bathroom')
Text(0.5, 1.0, 'Bathroom')
Majority of the houses have 2 bathrooms which, is quite obvious. However there some houses having 3 or more than 3 bathrooms, which is means these houses are quite big and spacious to have 3 or more bathrooms. Smaller houses usually have 1 bathroom.
sns.countplot(x='Furnishing',data=df).set_title('Furnishing')
Text(0.5, 1.0, 'Furnishing')
Delhi is very close captial of India, New Delhi and many people migrate from various regions of the country mostly for employment reasons to this region. As these people look for accomodations, the furnishing of the houses play a major role. People who are migrationg from huge distances cannot afford to move their furniture and other household items. Hence, they look for fully furnished houses. Similarly the people from neighbouring states might prefer semi-furnished houses, whereas Delhi locals who are moving to some other reason might prefer unfurnished houses. Hence, the furnishing of the house plays a major role in the price of the house. Hence, we have included this feature in our dataset
sns.countplot(x = 'Locality', data = df).set_title('Locality')
plt.xticks(rotation = 90)
(array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]), [Text(0, 0, 'Rohini Sector'), Text(1, 0, 'Lajpat Nagar'), Text(2, 0, 'Dwarka Sector'), Text(3, 0, 'Other'), Text(4, 0, 'Vasant Kunj'), Text(5, 0, 'Shahdara'), Text(6, 0, 'Paschim Vihar'), Text(7, 0, 'Alaknanda'), Text(8, 0, 'Vasundhara Enclave'), Text(9, 0, 'Punjabi Bagh'), Text(10, 0, 'Kalkaji')])
Since there are so many localities ans address in the dataset, I have group nearly half of them in the top ten localities (count wise), and the remaining localities are grouped as 'Others'. Upon visualizing the locality on the graph, we can se that after the 'Other' category, the Dwarka Sector has highest number of houses followed by Lajpat Naagr and Rohini Sector. From this info, I assume that these localities aare good to settle in Delhi. In addition to that localities such as Shahdara and Alaknanda are have significant number of houses as well. So, these localities are also good to settle in Delhi.
sns.countplot(x = 'Parking', data = df).set_title('Parking')
Text(0.5, 1.0, 'Parking')
Majority of the houses in Delhi has one car parking which is quite common. Few of the houses have enough space for two car parking and very few houses have more than two car parking space. We can relate this graph to the graph with house area, where majority of the houses have area between 100 -200 sq. yards. So, it is quite obvious than these house will have one car parking space. The houses with area more than 200 sq. yards will have more than one car parking space.
sns.countplot(x = 'Status', data = df).set_title('Status of the Property')
Text(0.5, 1.0, 'Status of the Property')
Most of the houses are ready to move and actively looking for buyers. Very few houses are still under construction and would be ready to move soon.
sns.countplot(x='Transaction', data=df).set_title('Transaction Type')
Text(0.5, 1.0, 'Transaction Type')
A huge number of houses are resale type, which means a lot of people are moving out of Delhi. This could be due to the high pollution levels or some other reason. This could be a good opportunity for people who are looking to buy a house in Delhi. Nearly 430 houses are new property houses which are built with only purpose to be commericially sold.
sns.countplot(x='Type',data=df).set_title('Type of House')
Text(0.5, 1.0, 'Type of House')
Most of the houses are builder floor which means people like to live in independent houses rather than apartments, due to the privacy and space they get in independent houses.
Till now, I have visualize the distribution of data across variables in the dataset. Now, I will be looking at the realtion between the target variable i.e Price and independent variables.
sns.scatterplot(x = 'Area_Yards', y = 'Price', data = df)
<Axes: xlabel='Area_Yards', ylabel='Price'>
The scatterplot graph has trend of increase in price with increase in area, which is obvious. However, there are some houses whose price is lower as compared to other with similar area, which means there are several other factors which affects price of the house.
sns.boxplot(x = 'BHK', y = 'Price', data = df).set_title('BHK vs Price')
Text(0.5, 1.0, 'BHK vs Price')
From this boxplot, we get to know about the relation between the price of the house and the BHK count. We can see that the price of the house increases with the increase in the BHK count, which evident from the fact that 5 BHK houses have the highes median price i.e. nearly 7,00,00,000 INR followed by 4 BHK houses with median price of nearly 4,00,00,000 INR. Incomparison to that, 3BHK houses have median price near about 1 crore INR and 2BHK houses have median price of nearly 50,00,000 INR. The 1BHK houses have the lowest median price of nearly 30,00,000 INR.
sns.boxplot(x = 'Bathroom', y = 'Price', data = df).set_title('Bathroom vs Price')
Text(0.5, 1.0, 'Bathroom vs Price')
The graph is similar to the previous graph for BHK and Price. Here the price of the house increases with increase in the number of bathrooms. Moreover the each bathroom count has similar house price as the previous graph for BHK and Price. Therefore, we can say that number of bathrooms and the BHK of the house are highly correlated.
sns.boxplot(x = 'Parking', y = 'Price', data = df).set_title('Parking vs Price')
Text(0.5, 1.0, 'Parking vs Price')
This boxplot graphs shows the relationship between the parking space and the price of the house. Houses with 3 parking spaces has highest median price which is 4,50,00,000, followed by 3 parking space, 2 parking space and 1 parking space. From this graph, we can assume that people usually look for the houses to have sufficient parking space, which means they don't want more than enough space for parking which evident throught the lower median price of houses with 4 parking space or more.
sns.boxplot(x='Locality', y='Price', data=df).set_title('Location vs Price')
plt.xticks(rotation=90)
(array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]), [Text(0, 0, 'Rohini Sector'), Text(1, 0, 'Lajpat Nagar'), Text(2, 0, 'Dwarka Sector'), Text(3, 0, 'Other'), Text(4, 0, 'Vasant Kunj'), Text(5, 0, 'Shahdara'), Text(6, 0, 'Paschim Vihar'), Text(7, 0, 'Alaknanda'), Text(8, 0, 'Vasundhara Enclave'), Text(9, 0, 'Punjabi Bagh'), Text(10, 0, 'Kalkaji')])
From this graph, we can get idea about the localities along with the house price. Punjabi Bagh locality has the highest median price of nearly 2,50,00,000 INR, which means this is a posh locality. Punjabi Bagh is followed by Lagpat Nagar and Vasant Kunj. These two localities can be included in the posh locality. The localities with lowest median prices includes - Rohini Sector, Vasundhara Enclave and Shahdara. Some of the mediocre localities are - Dwarka Sector, Pashchim Vihar, Kalkaji, and the rest of the localities are average.
sns.boxplot(x = 'Furnishing', y = 'Price', data = df).set_title('Furnishing vs Price')
Text(0.5, 1.0, 'Furnishing vs Price')
There is very little difference in the median house price based on the furnishing status. Interestingly, the furnished houses have a lower median price than the semi-furnished houses. The unfurnished houses have the lowest median price.
sns.boxplot(x = 'Status', y = 'Price', data = df).set_title('Price vs Status')
Text(0.5, 1.0, 'Price vs Status')
Surprisingly the houses that are still under construction have higher median price than those which are ready to move in. This might be because the houses that are still under construction allow the buyers to make changes to interior/exterior.
sns.boxplot(x = 'Transaction', y = 'Price', data = df).set_title('Transaction vs Price')
Text(0.5, 1.0, 'Transaction vs Price')
As expected the new properties have higher price than old ones/ resale ones. The new properties attracts more buyers to make features including reliability, designs. Whereas the resale one sometimes poses doubts for the buyers.
sns.boxplot(x = 'Type', y = 'Price', data = df).set_title('Price vs Type')
Text(0.5, 1.0, 'Price vs Type')
Both the Builder Floor and Apartment type houses have nealry same median price with Apartment type houses having slightly higher median price. However, the builder floor type houses are more in number which means people are more interested in buying builder floor type houses.
from sklearn.preprocessing import LabelEncoder
le = LabelEncoder()
# Columns for label encoding
cols = ['Furnishing', 'Locality', 'Status', 'Transaction', 'Type']
for i in cols:
le.fit(df[i])
df[i] = le.transform(df[i])
print(i, df[i].unique())
Furnishing [1 0 2] Locality [ 7 3 1 4 9 8 5 0 10 6 2] Status [1 0] Transaction [0 1] Type [1 0]
from sklearn.preprocessing import MinMaxScaler
min_max = MinMaxScaler()
df[['Area', 'Price', 'Per_Sqft', 'Area_Yards']] = MinMaxScaler().fit_transform(df[['Area', 'Price', 'Per_Sqft', 'Area_Yards']])
df.head()
Area | BHK | Bathroom | Furnishing | Locality | Parking | Price | Status | Transaction | Type | Per_Sqft | Area_Yards | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 0.148690 | 3 | 2.0 | 1 | 7 | 1.0 | 0.059783 | 1 | 0 | 1 | 0.097173 | 0.148690 |
1 | 0.139060 | 2 | 2.0 | 1 | 7 | 1.0 | 0.043478 | 1 | 0 | 0 | 0.076565 | 0.139060 |
2 | 0.177581 | 2 | 2.0 | 0 | 7 | 1.0 | 0.157609 | 1 | 1 | 0 | 0.076565 | 0.177581 |
3 | 0.110169 | 2 | 2.0 | 1 | 7 | 1.0 | 0.034783 | 1 | 1 | 1 | 0.076565 | 0.110169 |
4 | 0.119800 | 2 | 2.0 | 1 | 7 | 1.0 | 0.056522 | 1 | 0 | 1 | 0.076565 | 0.119800 |
plt.figure(figsize=(10, 10))
sns.heatmap(df.corr(), annot=True, cmap='coolwarm')
<Axes: >
In this coorelation matrix heatmap, we can see that the price of the house has high positive coorelation with land area, BHK, bathroom count, which proves are previous obersevation about their relation.
# Dropping Per_Sqft column
df.drop(['Per_Sqft'],axis=1,inplace=True)
from sklearn.model_selection import train_test_split
X_train, X_test, y_train, y_test = train_test_split(df.drop('Price',axis=1), df['Price'], test_size=0.2, random_state=42)
I will be using the following models:
from sklearn.tree import DecisionTreeRegressor
#creating Decision Tree Regressor object
dtr = DecisionTreeRegressor()
from sklearn.model_selection import GridSearchCV
# Defining parameters
parameters = {'max_depth':[2,4,6,8],
'min_samples_split':[2,4,6,8],
'min_samples_leaf':[1,2,3,4],
'max_features':['auto','sqrt','log2'],
'random_state':[0,42]}
# Creating GridSearchCV object
grid_search = GridSearchCV(dtr, parameters, cv=5, scoring='neg_mean_squared_error')
# Fitting data to grid search object
grid_search.fit(X_train, y_train)
# Best parameters
print("Best parameters: ", grid_search.best_params_)
Best parameters: {'max_depth': 6, 'max_features': 'auto', 'min_samples_leaf': 1, 'min_samples_split': 8, 'random_state': 42}
C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\sklearn\tree\_classes.py:277: FutureWarning: `max_features='auto'` has been deprecated in 1.1 and will be removed in 1.3. To keep the past behaviour, explicitly set `max_features=1.0'`. warnings.warn(
dtr = DecisionTreeRegressor( max_depth=6, max_features='auto', min_samples_leaf = 1, min_samples_split = 8, random_state=42)
dtr
DecisionTreeRegressor(max_depth=6, max_features='auto', min_samples_split=8, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
DecisionTreeRegressor(max_depth=6, max_features='auto', min_samples_split=8, random_state=42)
# Training the model
dtr.fit(X_train, y_train)
C:\Users\DELL\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\sklearn\tree\_classes.py:277: FutureWarning: `max_features='auto'` has been deprecated in 1.1 and will be removed in 1.3. To keep the past behaviour, explicitly set `max_features=1.0'`. warnings.warn(
DecisionTreeRegressor(max_depth=6, max_features='auto', min_samples_split=8, random_state=42)In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
DecisionTreeRegressor(max_depth=6, max_features='auto', min_samples_split=8, random_state=42)
# Training Accuracy
dtr.score(X_train, y_train)
0.8545210312800097
# Predicting the house price
d_pred = dtr.predict(X_test)
dft = pd.DataFrame({'Actual': y_test, 'Predicted': d_pred})
dft.reset_index(drop=True, inplace=True)
dft.head(10)
Actual | Predicted | |
---|---|---|
0 | 0.190217 | 0.033967 |
1 | 0.597826 | 0.561394 |
2 | 0.076087 | 0.102298 |
3 | 0.009239 | 0.018041 |
4 | 0.028261 | 0.018041 |
5 | 0.641304 | 0.584239 |
6 | 0.217391 | 0.214022 |
7 | 0.157609 | 0.171645 |
8 | 0.695652 | 0.472826 |
9 | 0.039348 | 0.067916 |
ax = sns.distplot(dft['Actual'], color = 'r', label = 'Actual Price', hist = False)
sns.distplot(dft['Predicted'], color = 'g', label = 'Predicted Price', ax=ax, hist = False)
C:\Users\DELL\AppData\Local\Temp\ipykernel_3260\3339549931.py:1: UserWarning: `distplot` is a deprecated function and will be removed in seaborn v0.14.0. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `kdeplot` (an axes-level function for kernel density plots). For a guide to updating your code to use the new functions, please see https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751 ax = sns.distplot(dft['Actual'], color = 'r', label = 'Actual Price', hist = False) C:\Users\DELL\AppData\Local\Temp\ipykernel_3260\3339549931.py:2: UserWarning: `distplot` is a deprecated function and will be removed in seaborn v0.14.0. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `kdeplot` (an axes-level function for kernel density plots). For a guide to updating your code to use the new functions, please see https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751 sns.distplot(dft['Predicted'], color = 'g', label = 'Predicted Price', ax=ax, hist = False)
<Axes: xlabel='Predicted', ylabel='Density'>
The red shows the distribution count for actual values and the green shows the distribution count for predicted values. The predicted value line tries to follow the actual value line as closely as possible. The closer the two lines are, the better the model is at predicting the house prices.
from sklearn.metrics import r2_score, mean_squared_error, mean_absolute_error
print("R2 Score: ", r2_score(y_test, d_pred))
print("Mean Squared Error: ", mean_squared_error(y_test, d_pred))
print("Mean Absolute Error: ", mean_absolute_error(y_test, d_pred))
print("Root Mean Squared Error: ", np.sqrt(mean_squared_error(y_test, d_pred)))
R2 Score: 0.829160558769424 Mean Squared Error: 0.006271711839596123 Mean Absolute Error: 0.05365863521857312 Root Mean Squared Error: 0.07919414018471393
from sklearn.ensemble import RandomForestRegressor
# Random Forest Regressor Object
rfr = RandomForestRegressor()
rfr
RandomForestRegressor()In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
RandomForestRegressor()
# Training the model
rfr.fit(X_train, y_train)
RandomForestRegressor()In a Jupyter environment, please rerun this cell to show the HTML representation or trust the notebook.
RandomForestRegressor()
# Training Accuracy
rfr.score(X_train, y_train)
0.962961816363294
# Predicting the house price
r_pred = rfr.predict(X_test)
dfr = pd.DataFrame({'Actual': y_test, 'Predicted': r_pred})
dfr.reset_index(drop=True, inplace=True)
dfr.head(10)
Actual | Predicted | |
---|---|---|
0 | 0.190217 | 0.145777 |
1 | 0.597826 | 0.499008 |
2 | 0.076087 | 0.077978 |
3 | 0.009239 | 0.026630 |
4 | 0.028261 | 0.015136 |
5 | 0.641304 | 0.568359 |
6 | 0.217391 | 0.335087 |
7 | 0.157609 | 0.181323 |
8 | 0.695652 | 0.284130 |
9 | 0.039348 | 0.039365 |
ax = sns.distplot(dfr['Actual'], color = 'r', label = 'Actual Price', hist = False)
sns.distplot(dfr['Predicted'], color = 'g', label = 'Predicted Price', ax=ax, hist = False)
C:\Users\DELL\AppData\Local\Temp\ipykernel_3260\570199092.py:1: UserWarning: `distplot` is a deprecated function and will be removed in seaborn v0.14.0. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `kdeplot` (an axes-level function for kernel density plots). For a guide to updating your code to use the new functions, please see https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751 ax = sns.distplot(dfr['Actual'], color = 'r', label = 'Actual Price', hist = False) C:\Users\DELL\AppData\Local\Temp\ipykernel_3260\570199092.py:2: UserWarning: `distplot` is a deprecated function and will be removed in seaborn v0.14.0. Please adapt your code to use either `displot` (a figure-level function with similar flexibility) or `kdeplot` (an axes-level function for kernel density plots). For a guide to updating your code to use the new functions, please see https://gist.github.com/mwaskom/de44147ed2974457ad6372750bbe5751 sns.distplot(dfr['Predicted'], color = 'g', label = 'Predicted Price', ax=ax, hist = False)
<Axes: xlabel='Predicted', ylabel='Density'>
The red shows the distribution count for actual values and the green shows the distribution count for predicted values. The predicted value line tries to follow the actual value line as closely as possible. The closer the two lines are, the better the model is at predicting the house prices.
print("R2 Score: ", r2_score(y_test, r_pred))
print("Mean Squared Error: ", mean_squared_error(y_test, r_pred))
print("Mean Absolute Error: ", mean_absolute_error(y_test, r_pred))
print("Root Mean Squared Error: ", np.sqrt(mean_squared_error(y_test, r_pred)))
R2 Score: 0.8498051402966182 Mean Squared Error: 0.005513825572496586 Mean Absolute Error: 0.04537652809312131 Root Mean Squared Error: 0.07425513835753446
From the exploratory data analysis, we can conclude that the following features are important for predicting the price of a house in Delhi:
From the EDA it was also found that, most of the houses in delhi are small having area between 100 to 200 sq. yards having 2-3 BHK. The price of the houses in localities such as Punjabi Bagh, Lajpat nagar and Vasant Kunj are high as compared to other localities, which means these are posh areas of Delhi. Most of the people prefer a new builder floor property despite the aprtments cost the same because people want to design their house according to their own needs and requirements and want more privacy and independency.
Coming to the machine learning models, I have used regression models - Decision Tree Regressor and Random Forest Regressor. The Random Forest regressor performed better than the Decision Tree Regressor with an accuracy of 84.98%